export interface remoteData<T> {
    type: remoteType;
    data: T;
}

export interface dialogData extends remoteData<{
    title: string;
    content: string;
} | {
    title: string;
    content: string;
}[]> {
    type: remoteType.DIALOG,
    data: {
        title: string;
        content: string;
    } | {
        title: string;
        content: string;
    }[]
}

enum remoteType {
    DIALOG = 'dialog',
}